public final class bf {

	public q a;
	public q b;
	public boolean c;

	public bf(q q1) {
		a = q1;
		if (!q1.b("options").i())
			b = q1.b("options");
	}

	public final String a() {
		return a.b("name").toString();
	}

	public final boolean b() {
		return a.b("editable").d();
	}

	public final boolean c() {
		return a.b("visible").d();
	}

	public final String d() {
		return a.b("type").toString();
	}

	public final String e() {
		String s;
		if ((s = a.b("description").toString()) == null || s.length() == 0)
			return a.b("name").toString();
		else
			return s;
	}

	public final q f() {
		return b.b(g());
	}

	public final q g() {
		return a.b("value");
	}

	public final void a(q q1) {
		if (!q1.equals(g())) {
			a.a(q.c("value"), q1);
			c = true;
		}
	}
}